<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="/page" prefix="public"%>
<public:pageControl classPath="app.portalbs.system.dict.export.DictExpand"/>
<script>

	//数据导入
	function data_import_onclick(grid,page){
		
		var sendset = new Yacon.data.DataSet(page);
		
		sendset.setWhereField("DICT_TYP_BAK",page.element.parameter.par);
		
		sendset.switchMessage("dataImport");
		
		page.find("dictExportTable").refresh();
	}
		
	//文件上传
	function pdmfile_upload_onclick(grid,page){
		
		//文件上传		
		Yacon.upload("PDMImport", "pdmImport_after");
		
	}
	
	function pdmImport_after(windows,page){
		
		//重命名文件
		var sendset = new Yacon.data.DataSet(page);
		sendset.switchMessage("renameFile");	
			
		page.find("dictExportTable").refresh();
	}
</script>